<template>
  <div class="column margin-small padding-small border-radius-small bordered">
    <el-row>
      <el-text class="mx-1">{{title}}</el-text>
    </el-row>
    <el-row>
      <el-select class="row w-100" v-model="value" placeholder="Select" size="large">
        <el-option
          class="w-100"
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        />
      </el-select>
    </el-row>
  </div>
</template>

<script>

export default {
  name: 'TemplateConfig',
  props: {
    options:[],
    title: {
      type:String,
      require: false
    }
  },
  data: ()=>{
    return {
      value: undefined
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.bordered {
  border: 1px dotted gray;
}
</style>
